object frmFinRptMultiColumnsDef: TfrmFinRptMultiColumnsDef
  Left = 371
  Top = 192
  Caption = #22810#26639#36134
  ClientHeight = 449
  ClientWidth = 703
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  DesignSize = (
    703
    449)
  PixelsPerInch = 96
  TextHeight = 12
  object btnAuto: TcxButton
    Left = 609
    Top = 185
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #33258#21160#32534#25490
    TabOrder = 0
    OnClick = btnAutoClick
  end
  object btnAppend: TcxButton
    Left = 609
    Top = 13
    Width = 75
    Height = 25
    Anchors = [akTop, akRight]
    Caption = #26032#22686
    TabOrder = 1
    OnClick = btnAppendClick
  end
  object btnAdd: TcxButton
    Left = 609
    Top = 218
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #28155#21152#32454#39033
    TabOrder = 2
    Visible = False
  end
  object btnDeleteDtl: TcxButton
    Left = 609
    Top = 251
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #21024#38500#32454#39033
    TabOrder = 3
    OnClick = btnDeleteDtlClick
  end
  object btnPrior: TcxButton
    Left = 609
    Top = 285
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #19978#31227
    TabOrder = 4
    OnClick = btnPriorClick
  end
  object btnNext: TcxButton
    Left = 609
    Top = 318
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #19979#31227
    TabOrder = 5
    OnClick = btnNextClick
  end
  object btnCancel: TcxButton
    Left = 609
    Top = 410
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Cancel = True
    Caption = #21462#28040
    ModalResult = 2
    TabOrder = 6
  end
  object cxLabel1: TcxLabel
    Left = 13
    Top = 87
    Caption = #22810#26639#36134#26126#32454#39033#30446#65306
    Transparent = True
  end
  object edtSubID: TcxDBLookupComboBox
    Left = 70
    Top = 13
    Anchors = [akLeft, akTop, akRight]
    DataBinding.DataField = 'subid'
    DataBinding.DataSource = dsMultiColumns
    Properties.DropDownSizeable = True
    Properties.GridMode = True
    Properties.KeyFieldNames = 'subjectid'
    Properties.ListColumns = <
      item
        FieldName = 'subcode'
      end
      item
        FieldName = 'subname'
      end
      item
        FieldName = 'subcodename'
      end>
    Properties.ListFieldIndex = 2
    Properties.ListOptions.ShowHeader = False
    Properties.ListOptions.SyncMode = True
    Properties.ListSource = dsSubject
    Properties.ValidateOnEnter = False
    TabOrder = 8
    ExplicitWidth = 460
    Width = 522
  end
  object edtName: TcxDBTextEdit
    Left = 70
    Top = 45
    Anchors = [akLeft, akTop, akRight]
    DataBinding.DataField = 'name'
    DataBinding.DataSource = dsMultiColumns
    TabOrder = 9
    ExplicitWidth = 460
    Width = 522
  end
  object cxLabel2: TcxLabel
    Left = 13
    Top = 15
    Caption = #31185#30446#65306
    Transparent = True
  end
  object cxLabel3: TcxLabel
    Left = 13
    Top = 47
    Caption = #21517#31216#65306
    Transparent = True
  end
  object grdMultiColDtl: TcxGrid
    Left = 16
    Top = 111
    Width = 575
    Height = 324
    Anchors = [akLeft, akTop, akRight, akBottom]
    TabOrder = 12
    ExplicitWidth = 513
    ExplicitHeight = 303
    object viewMultiCol: TcxGridDBTableView
      OnMouseDown = viewMultiColMouseDown
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsMultiColumnsDtl
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsData.Appending = True
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      Styles.Background = MainDM.bslBackGroup
      Styles.ContentEven = MainDM.bsEven
      Styles.ContentOdd = MainDM.bsOdd
      Styles.Selection = MainDM.bsSelect
      Styles.Footer = MainDM.bsTitle
      Styles.Header = MainDM.bsTitle
      object viewMultiColsubcode: TcxGridDBColumn
        Caption = #31185#30446#32534#30721
        DataBinding.FieldName = 'subcode'
        Width = 75
      end
      object viewMultiColsubname: TcxGridDBColumn
        Caption = #31185#30446#21517#31216
        DataBinding.FieldName = 'subid'
        Width = 80
      end
      object viewMultiColname: TcxGridDBColumn
        Caption = #39033#30446#21517#31216
        DataBinding.FieldName = 'name'
        Width = 70
      end
    end
    object lvlMultiCol: TcxGridLevel
      GridView = viewMultiCol
    end
  end
  object btnPriorMC: TcxButton
    Left = 609
    Top = 48
    Width = 75
    Height = 25
    Anchors = [akTop, akRight]
    Caption = #19978#19968#20010
    TabOrder = 13
    OnClick = btnPriorMCClick
  end
  object btnNextMC: TcxButton
    Left = 609
    Top = 84
    Width = 75
    Height = 25
    Anchors = [akTop, akRight]
    Caption = #19979#19968#20010
    TabOrder = 14
    OnClick = btnNextMCClick
  end
  object btnSave: TcxButton
    Left = 609
    Top = 379
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = #20445#23384
    ModalResult = 1
    TabOrder = 15
    OnClick = btnSaveClick
  end
  object btnDelete: TcxButton
    Left = 609
    Top = 119
    Width = 75
    Height = 25
    Anchors = [akTop, akRight]
    Caption = #21024#38500
    TabOrder = 16
    OnClick = btnDeleteClick
  end
  object dsMultiColumnsDtl: TDataSource
    DataSet = qryMultiColumnsDtl
    Left = 144
    Top = 204
  end
  object qryMultiColumnsDtl: TUniQuery
    UpdatingTable = 'tfd_multicolumnsdtl'
    KeyFields = 'keyid;secid'
    SQLInsert.Strings = (
      
        'insert into tfd_multicolumnsdtl (keyid,secid,subid,name,orderno,' +
        'bodebit) '
      '  values (:keyid,:secid,:subid,:name,:orderno,:bodebit)')
    SQLDelete.Strings = (
      
        'delete tfd_multicolumnsdtl where keyid=:Old_keyid and secid=:Old' +
        '_secid')
    SQLUpdate.Strings = (
      
        'update tfd_multicolumnsdtl set name=:name,orderno=:orderno,subid' +
        '=:subid where keyid=:Old_keyid and secid=:Old_secid')
    Connection = MainDM.UniConn
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    OnNewRecord = qryMultiColumnsDtlNewRecord
    Left = 76
    Top = 188
  end
  object qryMultiColumns: TUniQuery
    Connection = MainDM.UniConn
    CachedUpdates = True
    AfterScroll = qryMultiColumnsAfterScroll
    OnNewRecord = qryMultiColumnsNewRecord
    Left = 188
  end
  object dsMultiColumns: TDataSource
    DataSet = qryMultiColumns
    Left = 256
    Top = 11
  end
  object dsSubject: TDataSource
    DataSet = qrySubject
    Left = 448
    Top = 43
  end
  object qrySubject: TUniQuery
    Connection = MainDM.UniConn
    Left = 380
    Top = 27
  end
end
